AnsweredAssumed Answered

QN908xCDK wirelee examples_bluetooth_wireless _uart_freertos Cannot get connected with IOT Toobox

Question asked by Albert Zhou on Apr 22, 2019
Latest reply on Jul 29, 2019 by ziv wang


I got some demo examples work with IoT Toolbox on the iPhone include blood_pressure, heart_rate and proximity_reporter. However, I could not get the wireless_uart to connected with IoT Toolbox. There is any difference with the others in connection? I guess the uart demo is close to my application for sensors connecting with smart phone.

Also I have problem to compiler the  other demo examples, like temperature sensor freertos, errors display like this below:


../source/app_config.c:87:20: error: 'gAppUseBonding_d' undeclared here (not in a function)
.withBonding = gAppUseBonding_d,
make: *** [source/ source/app_config.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ../freertos/FreeRTOS.h:98:0,
from ../freertos/heap_4.c:85:
../source/FreeRTOSConfig.h:114:59: error: 'gTotalHeapSize_c' undeclared here (not in a function)
#define configTOTAL_HEAP_SIZE ((size_t)(gTotalHeapSize_c))
../freertos/heap_4.c:107:25: note: in expansion of macro 'configTOTAL_HEAP_SIZE'
static uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
../freertos/heap_4.c:107:17: warning: 'ucHeap' defined but not used [-Wunused-variable]
static uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
make: *** [freertos/ freertos/heap_4.o] Error 1