The code is put in the main.c file after the "Function for starting advertising" Function for starting advertising.Įrr_code = sd_ble_gap_address_get(&m_ble_addr) Įrr_code = sd_ble_gap_address_set(BLE_GAP_ADDR_CYCLE_MODE_NONE, &m_ble_addr) To communicate directly to a bluetooth dongle (not PCA10000) on your computer you need to include a code snippet in the ble_app_uart software: Project -> Options for target 'nrf51822.' -> C/C++Ĭhange the defined preprocessor symbols to:īOARD_NRF6310 NRF51,DEBUG_NRF_USER, BLE_STACK_SUPPORT_REQD To compile the ble_app_uart program and use it on the nRF6310 motherboard with PCA10004 or PCA10005 you need to change some options in Keil From the menu go to): (I need to communicate via the BLE in the PC and not via the dongle)!Īny suggestions, help, tips and hints are most appreciated. How can I use the BLE in my PC to communicate via a Terminal Program? Is there a way to communicate (Send and receive data) via a Terminal Program and not via the nRF UART program? I have programmed the nRF51822/nRF6310 Motherboard using the PCA10001 ble_app_uart program including modifications to be detected by the BLE in the Surface Pro PC. I have a project where I need to communicate using UART BLE between nRF51822 and a PC (MS Surface Pro 3) with Windows 8.1 and embedded BLE hardware.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |