他的回复:
Demo是VS Code插件自带的示例Demo(我这以烟感Demo为例),NB已调通且对接IoT平台ok;切换ESP8266后,修改配置如下: LiteOS for STM32L431_BearPi Project configuration For IoT Link This is a demo project and hope you enjoy it Select the cpu arch:armv7-m armv6-m riscv32 x86-64 Config the at uart receive buffer size Config the at uart baud rate Config the at uart device name IoT link SDK configuration you should choose a os kernel first! OS configuration please select one os;if you has your own, please select the os_new we use the liteos as the os kernel we use the novaos as the os kernel we use the linux as the os kernel we use the macos as the os kernel we use the new os as the os kernel At configuration Enable AT framework. and we will select the driver The device for the at io How many oob functions could be hooked The maxlen could be received for the at components The at receive task priority Enable cJson library. Enable IoT Link driver management. LinkLog configuration Enable IoT link log Enable IoT Link Queue Enable IoT Link Demo Stimer configuration Enable IoT link software timer. stimer task stack size stimer task prior Enable stimer demo Network configuration Tcpip configuration Enable the tcpip abstract layer please select one tcpip implement; if you have your self, please select none lwip is for the tcpip we use RTK8710, and will select the at components we use esp8266, and will select the at components we use the macos socket ,and select the macos we use the linux socket ,and will select the linux we will create a new tcpip ourself esp8266 configuration The ssid of the wifi The pwd of the wifi Dtls configuration enable the dtls abstract layer Coap configuration Enable the coap abstract layer Lwm2m configuration Enable the lwm2m abstract layer please select one lwm2m implement; if you have your self, please select lwm2m_new we use the wakaama(the modified version) as the lwm2m protocol we use the wakaama(the unmodified version) as the lwm2m protocol we will create a new lwm2m ourself Mqtt configuration Enable the mqtt abstract layer OceanConnect SERVICE configuration Enable the oc service, like the mqtt/coap/lwm2m to communicate with the oc platform OceanConnect Coap configuration Enable the occoap abstract layer OceanConnect Lwm2m configuration Enable the oclwm2m abstract layer please select one oc lwm2m implement; if you have your self, please select OCLWM2MNULL we use the TINYLWM2M(This is a software implement) as the oclwm2m protocol we use the boudica150 as the oclwm2m protocol we will create a new oc lwm2m ourself Enable OC LWM2M DEMO OceanConnect Mqtt configuration Enable the ocmqtt abstract layer Shell configuration Enable shell component. and we will select the LiteOS The shell task size The shell task priority The specified Configuration Header User Defined Demo none Hello World OC Streetlight OC Agriculture OC Track OC Smoke OC Cover OC Infrared OC Cloud Map