NordicPlayground / nRF51-ble-bcast-mesh

Other
323 stars 121 forks source link

A Modified BLE_Gateway example not working on nRF51 DK(PCA10028), while it works on RBL nRF51822. #54

Closed rifatmahmud closed 8 years ago

rifatmahmud commented 8 years ago

I have modified the BLE_Gateway example so that it transmit the updated value on the handle via UART. It has been verified to work in RBL nRF. But, the same hex doesn't work in nRF51 DK. It goes on the error loop, as understood by lighting up of LED 3. A rough LED based debugging is suggesting that it is failing inside nrf_adv_conn_init() function. Here are the modified main.c and makefile of the BLE_Gateway example.

Addition: It should be noted that RBL nRF51822 is actually PCA10031, but the code compiled for PCA10028 runs on it. While the same code doesn't run on nRF51 DK.

rifatmahmud commented 8 years ago

It seems, I was not using the updated sources. That seems to be the problem. An update has made the original BLE_Gateway program run. I'll try to add the uart part there and run again see if that works, and close this issue.

rifatmahmud commented 8 years ago

Ok, it ran, even with the changes. But there seem to be another issue, which I am adding separately.