Nordic example "UART OVER BLE Peripheral" to u-blox NINA-B2 using AT commands.

Good morning.

I am looking for an example of how to program the u-blox NINA-B221 module using the AT commands so that it is compatible with the application of the Nordic
UART OVER BLE (peripheral) downloaded on the Nordic EVAL with nRF-52832.
I tried to modify, through the AT commands, the UUID of the u-blox module so that it is the same as the Nordic UUID, but I can't get your PC tool to communicate correctly
"nRF Connector for Desktop v.3.11.
1" with the u-blox module.
With the eval from Nordic, communication with "nRF Connector for Desktop v.3.11.1" is successful.
Where can I find examples to program the u-blox module through AT commands ?
I await your kind reply.

BR

Demetrio Magrin

  • Hi Demetrio, 
    Please described what exactly happened when "I can't get your PC tool to communicate correctly
    "nRF Connector for Desktop v.3.11.
     1" with the u-blox module."

    We are not familiar with the AT Commands provided by u-blox. So I don't know what could be wrong here. But for a peripheral to work as NUS (UART over BLE) you need more than just configuring the UUID. You need the firmware on the nRF52 to work as NUS. 
    I think you should contact Ublox to see if they can help. 

  • Thank you for the clarification.


    I wanted some basic clarifications on the examples that Nordic has put on the SDKs (for example "nRF5_SDK_15.3.0_59ac345")
    and which I have used as a basis to use with nRF52832.
    The example projects I used are these (peripheral and central):
    1) .... \ Nordic-SDK \ nRF5_SDK_15.3.0_59ac345.zip \ nRF5_SDK_15.3.0_59ac345 \ examples \ ble_peripheral \ ble_app_uart \
    2) .... \ Nordic-SDK \ nRF5_SDK_15.3.0_59ac345.zip \ nRF5_SDK_15.3.0_59ac345 \ examples \ ble_central \ ble_app_uart_c \

    In the first project (peripheral) the UUID and name have been changed and downloaded in the Nordic EVAL with nRF52832.
    With the u-blox tools "nRF Connector for Desktop v.3.11" I have the possibility to see the BLE network.
    Below I show you what you see.

    From this tools I can send and receive data that I will see in the VCP present in the EVAL and it works correctly.

    First you talk about NUS.
    But isn't my modified Nordic project already a UART over BLE (NUS) ?
    Let me know.

    Thank you

    BR

    Demetrio Magrin

  • Hi Demetrio, 

    Please described the issue you are having. I'm not really sure what the problem here. 

    Are you saying that you want to make the NINA-B221 which has an ESP32 to work the same functionality as the ble_app_uart_c  ? 

    NUS is just our proprietary BLE service that convert data from UART and send over BLE, it's not a standard or anything. 

    To elaborate the problem please try to write down:

    1 - Describe the problem in general. 

    2 - Describe what you want to achieve 

    3 - Describe what doesn't work as you want to achieve. 



  • Hello Hung Bui,
    thank you for your help.

    Before wasting your time I'll tell you this to simplify the problem:
    I already have an application that uses nRF52832 with the start project ... \ Nordic-SDK \ 
    nRF5_SDK_15.3.0_59ac345.zip\nRF5_SDK_15.3.0_59ac345\ examples\ ble_peripheral\ ble_app_uart\.
    As BLE central I am using a free APP on Android which is called "Serial Bluetooth Terminal" and which you   
    can download freely.
    With this APP I can communicate via BLE with my application that uses nRF52832 and send and receive data 
    without any problem.
    I would like to do the same thing with u-blox NINA-B2xx module.
    At present I have not been able with the "Serial Bluetooth Terminal" program, it recognizes the NINA-B2xx module of the u-blox but I cannot make the connection between the two devices.
    Note: To keep it simple I used the same UUID on both of the two solutions.
    From you I just need to know if the u-blox NINA-B2xx module can connect with the "Serial Bluetooth Terminal" APP.
    For the remaining problems I am looking for help to support u-blox.
    Let me know.
    I thank you.

    Magrin Demetrio

  • Hi Magrin, 


    The NINA-B2 module doesn't have a Nordic chip on it so we have no idea what it's capable of or if it support NUS or not. But if it can do BLE and you can customize the firmware on it (GATT) then it most likely would support that. You just need to flash the correct firmware. Again, we have no experience with the Nina-B2 so we can't really help you here.

    Please direct your question to Ublox. 

Related