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

BLE application with multihop

We have a BLE application where we need hopping through nodes. I have shown below how it looks like. We don't want mesh network because we don't require node to node communication. So, in diagram, gateway wants to communicate with module4 but it can't reach. So, route is through module1 through module3. Are there any sample projects for doing multi hop on BLE ?

image description

Parents Reply Children
  • Thanks @Kristin, for the link to the example project. I did not understand how this would work. Here, assume I have two connections for my node2.
    Connection 1 (node 2 is acting as peripheral): Connection to node 1. Connection 2 (node 3 is acting as central) : Connection to node 3.

    I want to know, when communicating, connection procedure needs to be completed ? For example, for communicating with node 3 everytime, first connection has to be established ? Or, both connections happen only once at the beginning, then they communicate at connection intervals.

  • FormerMember
    0 FormerMember in reply to FormerMember

    It is only necessary to connect once (per connection), then the connections can remain connected, and communicate every connection interval. It is not necessary to initiate a connection for each transfer of data.

  • FormerMember
    0 FormerMember in reply to FormerMember

    Yes, node 2 will need to have have two connections. If node 2 is a peripheral only , node 1 and 3 have to be centrals. S132 v.4.x.x supports multiple peripheral connections.

    It is also an option that node 2 is a peripheral in the connection with node 3, and node 2 is a central in the connection with node 1.

Related