This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
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

GAZELL Does not work when device is disconnected and reconnected

Hi Nordic.

So, I am using GAZELL to link a sensor node (PCA10001) to a host (PCA1000) When the node is connected is should automatically send its address to the host. this part works fine. The node does send its address and receives and acknowldgement of 0x00 which indicates that It should not transfer more data untill the host has requested it to do so. So on the other side the host will be listining to the user through the UART port awaiting his request. once the user issue a command, it will trigger a uart interrupt and it will be denumerated to a correct ack value and send to the host.

Here is what does not work. When I disconnect the node and reconnect it, it does not show its address anymore. That is even though it send the address to the host, the host fails to collect the data.

Attached are the main c files for the node and the host.

Thanks you in advance.

Raiyan

main_app.c host_main_SW.c

Parents
  • @Raiyans: Could you let me know which protocol are you testing ? Gazell pairing or Gazell link layer ? What do you mean by "connected" and "its address" ?

    I don't understand this part:

    "So on the other side the host will be listining to the user through the UART port awaiting his request. once the user issue a command, it will trigger a uart interrupt and it will be denumerated to a correct ack value and send to the host."

    So you have correct ACK value via UART to the host, what would the host do after that ?

    If you try to test with the default example, do you have the same problem ?

Reply
  • @Raiyans: Could you let me know which protocol are you testing ? Gazell pairing or Gazell link layer ? What do you mean by "connected" and "its address" ?

    I don't understand this part:

    "So on the other side the host will be listining to the user through the UART port awaiting his request. once the user issue a command, it will trigger a uart interrupt and it will be denumerated to a correct ack value and send to the host."

    So you have correct ACK value via UART to the host, what would the host do after that ?

    If you try to test with the default example, do you have the same problem ?

Children
No Data
Related