Hi , I am planning to implement S120 UART to communicate with desktop as well as S110 UART BLE.
I browsed in the forum and found out we already have example in github.com/.../ble_app_uart_c_S120 . when I tried to use it with the latest SDK9.0 Keil 5 IDE and lastest softdevice of 120 2.1. I got lot of error mainly gpiote conflict.. Then I browsed in the forum and found out there is patch for moving from sdk 8.0 to sdk 9.0 in devzone.nordicsemi.com/.../ so i followed the changes in gpiote & nrf_drv_gpiote.c .finally I am able to compile it. when I flash the application software all the led ON . meaning assert something wrong with the changes.
Then I revert back the changes. I copied the ble_app_hrs_c folder & excluded the hrs_c file and included uart_c files in ble services and changed the main.c
I comment out APP_GPIOTE_INIT(1) and flashed the program.it worked. I am able to see "scanning..." communication. I am able to connect with BLE Server as well. APP_TIMER_INIT(APP_TIMER_PRESCALER, APP_TIMER_MAX_TIMERS, APP_TIMER_OP_QUEUE_SIZE, NULL); //APP_GPIOTE_INIT(1); err_code = bsp_init(BSP_INIT_LED | BSP_INIT_BUTTONS, APP_TIMER_TICKS(100, APP_TIMER_PRESCALER),NULL); APP_ERROR_CHECK(err_code); leds_init(); timers_init(); uart_init();
Now my question is 1.do we have any effect if I don't include APP_GPIOTE_INIT(1) 2. I am planning to implement discovery,connection,pairing,bonding,unbonding & disconnection in my GUI.will be please point me the function call to do this orelse any document which explains the software architecture. 3. After discovery I am planning to list discovered devices in GUI. where can I use the printf to get the related information ? please guide me I am new to this forum as well as Nordic. even a small information is very useful to me.
Thanks and Regards Lakshman,PMP,PMI-RMP