This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Reset Bluetooth in nrf52840

Hi 

I have a question about reset Bluetooth, how can I do that?

I don't want to reset the system only to reset ble, turn on and turn off the ble, 

 thanks and regards 

Parents
  • Hello,

    I think Juliusc already answered your question, but please elaborate on what you are trying to achieve in the case that it did not.
    What is it you would like to achieve through the 'reset BLE' operation?

    Best regards,
    Karl

  • HI Karl

    sorry, my grammar is not good, but I'm going to try 

    I am connecting the nRF52840 to  APP Mobile, when I  far away from nrf52840 my module  Bluetooth is disconnected , obviously, then i am nearing to nrf52840 my App Mobile is traying to connect again, but never connect successfully, I need to close the app and open again and the device connect to App Mobile successfully, I want to reset BLE  because I am thinking its that a possible solution, but i am not sure, my team software says that I need to reset ble and I'm trying to do that, I reset directly module and the App Mobile no reconnect, I tested with APP NUS Nordic also and no reconnect

    I'm no sure if the problem is the APP mobile, that's why I will try to check this or not  xd 

    pd: always de module nrf52 shows the BLE name like available but the app never automatically connect

    thanks and regards

  • Hello again,

    Marcos Tadeo said:
    sorry, my grammar is not good, but I'm going to try 

    No need to apologize - I will do my best to understand you, and ask if anything should still be unclear, no problem :) 

    Marcos Tadeo said:
    I need to close the app and open again and the device connect to App Mobile successfully, I want to reset BLE  because I am thinking its that a possible solution, but i am not sure, my team software says that I need to reset ble and I'm trying to do that, I reset directly module and the App Mobile no reconnect, I tested with APP NUS Nordic also and no reconnect

    If you are seeing the peripheral device advertise again after the broken connection then everything is setup correctly on the peripheral device - if the peripheral is advertising again, like it did before the connection, it will be ready to connect again. So you will need to look into why your phone application does not reconnect when a disconnection has happened.

    Marcos Tadeo said:
    pd: always de module nrf52 shows the BLE name like available but the app never automatically connect

    It is the central device that initiates connection - the peripheral devices can only advertise their presence and connection options - and as such the 'auto connect'/reconnect must be done by the central (phone) device, so you will need to look into how the phone is initializing the connection.

    Best regards,
    Karl

Reply
  • Hello again,

    Marcos Tadeo said:
    sorry, my grammar is not good, but I'm going to try 

    No need to apologize - I will do my best to understand you, and ask if anything should still be unclear, no problem :) 

    Marcos Tadeo said:
    I need to close the app and open again and the device connect to App Mobile successfully, I want to reset BLE  because I am thinking its that a possible solution, but i am not sure, my team software says that I need to reset ble and I'm trying to do that, I reset directly module and the App Mobile no reconnect, I tested with APP NUS Nordic also and no reconnect

    If you are seeing the peripheral device advertise again after the broken connection then everything is setup correctly on the peripheral device - if the peripheral is advertising again, like it did before the connection, it will be ready to connect again. So you will need to look into why your phone application does not reconnect when a disconnection has happened.

    Marcos Tadeo said:
    pd: always de module nrf52 shows the BLE name like available but the app never automatically connect

    It is the central device that initiates connection - the peripheral devices can only advertise their presence and connection options - and as such the 'auto connect'/reconnect must be done by the central (phone) device, so you will need to look into how the phone is initializing the connection.

    Best regards,
    Karl

Children
No Data
Related