Skip to content

This is a project to create a BLE network that uses MQTT to communicate with the interface.

Notifications You must be signed in to change notification settings

mglmc/BLE_MQTT_Net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

The main target of this project is the development of a network of smart devices with BLE connectivity, intended to support home automation applications.

As an application example of smart device into the BLE network. It has been created a Smart Plug. mglmc/archBLE_plug.git

  • Developed in Eclipse IDE.
  • It uses JSON (by frozen library) format to send the data by MQTT (MQTTAsync library) protocol.
  • To manage the different BLE devices uses gattlib library.
  • As a web interface uses Home Assistant platform (it'll be upload soon) but it can be integrated in any interface that uses MQTT protocol.

There are 2 different main code:

  • BLE_MQTT_one_device : only manage one BLE device at the same time, but if the connection fails it could be reconnected sending a read/write request.
  • BLE_MQTT_several_devices : the code can manage several devices at the same time but if the connection fails the reconnection mode doesn't work (that is a cause the gattlib library has some issues).

...Developing readme...

About

This is a project to create a BLE network that uses MQTT to communicate with the interface.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages