A custom made Bluetooth Low Energy (BLE) wireless sensor network library (MATLAB Simulink) allows to build the models for simulating the communication between multiple BLE devices using a fixed-step (1 us) discrete solver. The library includes configurable blocks of:
- BLE master and slave devices;
- 802.11b interferer;
- transmission channel (noise, path loss, interference);
- diagnostics (battery status, BER, PER, PRR, scope of the various signals in the devices).
For generating the initial BLE models, a special MATLAB function can be used, which allows specifying the locations of the devices to take into account the distances between them.