:1.973KB : :1 :2022-09-19 17:32:29
基于m5310A,lwm2m协议通讯如果开发者对于本文件有需要的可以参考,int main( int argc, char *argv[] )
{
int life_time = 1000;
int ret;
nbiot_init_environment( argc, argv );
#ifdef NOTIFY_ACK
ret = nbiot_device_create( &dev,
life_time,
write_callback,
read_callback,
execute_callback,
notify_ack_callback );
#else
ret = nbiot_device_create( &dev,
life_time,
write_callback,
read_callback,
execute_callback );。