support aiit-arm32-board and stm32f407-st-discovery board

This commit is contained in:
gumj
2021-04-30 14:11:05 +08:00
parent 3ba05d0a71
commit 0b08dbf171
3 changed files with 35 additions and 10 deletions
@@ -23,6 +23,7 @@
#include <xs_klist.h>
#include <xs_adapter_manager.h>
#include <string.h>
#include <user_api.h>
adapter_t padapter;
/* a demo function to send message through command line using zigbee*/
/* first open zigbee to start demo*/
@@ -53,6 +54,7 @@ void ZigbeeSendDemo(int argc, char *argv[])
/*Find from the list of registered adapters*/
bool v = false;
padapter->done.NetAiitSend(padapter, argv[1], strlen(argv[1]) ,true,10000,0, NULL,&v,NULL);
}
#ifndef SEPARATE_COMPILE