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

Is it possible to run gazelle Host and BLE concurrently?

Hi everyone, 

I have a device which can be a gzll host or BLE, depends on what software inside, and it is based on 51822. And now, I would like to combine this two function in to a new hardware which is based on 52832. I have searched some solution on DevZone and almost all I can find is BLE + gzll device, and based on nrf51. So I am wondering if it is implementable, if so how could I implement this kind of application

Can anyone please help me with this question

  • Hi Torbjørn

    After few weeks, my requirement has been changed

    Gzll Host and BLE will wait for the data from the smartphone/Gzlldevice at the same time
    after recieve the data no matter it's from smartphone/Gzlldevice, the other protocal will be disabled
    until the data stop sending from smartphone/Gzlldevice, and my device start to wait for the data again

    how's this kind of application, is it easier to implement?

  • Hi 

    The application you describe should be easier to run reliably, without much packet loss. If you can run Gazell host and BLE side by side without sending much data, and then switch off one of them when you start to receive packets, you should ensure good RF performance. 

    In terms of implementation it is not much easier unfortunately. You will still have to implement the Gazell host running on top of the timeslot API from scratch, since we don't have any examples showing you how to do this. 

    I am also not sure how well suited the current Gazell library is to running through timeslots in host mode, as this has not been properly tested. 
    Since Gazell is provided as a library only it is not possible to change the low level behavior of Gazell to make it more suitable to use in timeslots. 

    Best regards
    Torbjørn

  • Hi Torbjørn

    OK, seem I have lot of work to do 
    by the way, which example would you suggest me to do this application?

    "multiprotocal/ble_app_gzll" and add timeslot  or
    "ble_peripheral/ble_app_uart" and ad timeslot and gzll or other example?

    Adding gzll to ble_peripheral/ble_app_uart isn't going well to me.

    hope you can give me some suggestions.

    thanks

    Johnson

  • Hi Johnson

    I believe the multiprotocol/ble_app_gzll example would be the best place to start. 

    Then all the right files will be included, and the main change is to add timeslots and to try running the two protocols semi concurrently. 

    I will have to do some investigation on my end to see if running a Gazell host in a timeslot is at all possible. 

    If this can't be done then the only option is to use the ESB stack, and implement Gazell on top of ESB. 

    Best regards
    Torbjørn

  • Hi Torbjørn

    I have done the ble part of my application  - adding nus service into "multiprotocal/ble_app_gzll" and it work fine now

    but how do i change it from gazell device to gazell host?

    it seems it's not so easy to do it only if i import nrf_gzp.c, nrf_gzp_host.c, and nrf_gzp_host_nrf5x.c to the project, but after import the c files it will shows the error message when i try to download it to the demo board. see this question.

    Or in you opinion, how should i do for it of the gazell part?

Related