This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

S120 UART communication

Hi, I'm trying to make BLE hardwares on both s110 and s120. There are two devicees one for S110 peripheral and the other for s120 central.

S110 pheriperal device has to functions.

  1. Using general profile, communicate with phone, something like heart beat profile.
  2. With custom profile, communicate with the s120 device.

S120 central device scans for the s110 pheriperal device. when connection made, they communicate like zigbee or other communication protocol. S120 device is connected to pc with usb, so PC can send UART message to the S120 device, and it send the data to S110 device.

I want to communicate with two nRF chips. There are many examples on S110, but there is very few examples on S120.. it look like Nordic is also work on it.

So the question is:

  1. Can i make UART ble app (like SPP profile) on S120 device? (if i can, is there any examples or documents?)

I think i can handle S110 part, there is an example of UART ble app, but S120 don't. I'm first on bluetooth, so please help me.

Parents
  • FormerMember
    0 FormerMember

    If you understand the workflow of how to develop with S110, S120 would be quite similar. An initial difference is that with S120, scanning of the advertisements must be done to find out if there is a device which needs to be connected with. Then connect with it. After that you can the GATT part is quite similar to S110. I've attached the main file (Sorry, its messy) of an example in the SDK that I have modified to make is much simpler (removed the device database, whitelisting etc.). Hope this will put you in the right direction. Regards, PrithviC:\fakepath\main.c

Reply
  • FormerMember
    0 FormerMember

    If you understand the workflow of how to develop with S110, S120 would be quite similar. An initial difference is that with S120, scanning of the advertisements must be done to find out if there is a device which needs to be connected with. Then connect with it. After that you can the GATT part is quite similar to S110. I've attached the main file (Sorry, its messy) of an example in the SDK that I have modified to make is much simpler (removed the device database, whitelisting etc.). Hope this will put you in the right direction. Regards, PrithviC:\fakepath\main.c

Children
No Data
Related