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

Mesh protocol!

Is there any plan to implement a mesh protocol our anyone know some open source mesh library that can be used?

Parents
  • @Ling: You are right. I wasn't very correct to say that ANT protocol support mesh network directly, however it's pretty straight forward to implement an ANT node to relay data, which is necessary to create a "practical" mesh network.

    For instance node A can setup a broadcast channel, node B can setup a receive channel and a broadcast channel, and node C can setup a receive channel. The synchronization, power management and pairing between A and B, B and C is fully handled by ANT.

    However the application in each node will need to setup individual channels, and specifically node B will need to take the receive channel data from node A and write the data to its broadcast channel (this is very easy to do). Data on a broadcast channel can then be received by anyone on the same network.

    The challenge here will be to inform node B that it should start to look for node A, if node C cannot receive data from node A directly.

    However this might not be very difficult. For instance node C can by default be setup to try to receive data from node A, if no data is received within reasonable time node C can instead setup a broadcast channel to request anyone nearby to try to search for node A.

    This can then be received by node B that by default has a receive channel open, then node B will setup a second receive channel to search for node A, once node B acquire node A, it can inform node C that it has found node A by sending data on the reverse channel back to node C. Since all channels are bidirectional this is straight forward.

    Each node can setup up to 8 ANT channels, which can be a combination of receiver and broadcaster channels.

    Unfortunately, at this moment, we don't have an example or app note for the implementation.

Reply
  • @Ling: You are right. I wasn't very correct to say that ANT protocol support mesh network directly, however it's pretty straight forward to implement an ANT node to relay data, which is necessary to create a "practical" mesh network.

    For instance node A can setup a broadcast channel, node B can setup a receive channel and a broadcast channel, and node C can setup a receive channel. The synchronization, power management and pairing between A and B, B and C is fully handled by ANT.

    However the application in each node will need to setup individual channels, and specifically node B will need to take the receive channel data from node A and write the data to its broadcast channel (this is very easy to do). Data on a broadcast channel can then be received by anyone on the same network.

    The challenge here will be to inform node B that it should start to look for node A, if node C cannot receive data from node A directly.

    However this might not be very difficult. For instance node C can by default be setup to try to receive data from node A, if no data is received within reasonable time node C can instead setup a broadcast channel to request anyone nearby to try to search for node A.

    This can then be received by node B that by default has a receive channel open, then node B will setup a second receive channel to search for node A, once node B acquire node A, it can inform node C that it has found node A by sending data on the reverse channel back to node C. Since all channels are bidirectional this is straight forward.

    Each node can setup up to 8 ANT channels, which can be a combination of receiver and broadcaster channels.

    Unfortunately, at this moment, we don't have an example or app note for the implementation.

Children
No Data
Related