monteslu / ble-serial

a node-serialport implementation using BLE for sending and receiving serial data.
17 stars 6 forks source link

Allow requests for devices with specific local names #2

Open pvanallen opened 8 years ago

pvanallen commented 8 years ago

These changes enable the use of the FIRMATA_BLE_LOCAL_NAME constant in StandardFirmataBLE (in bleConfig.h), which is especially useful if more than one device is active at the same time.

If no local name is specified in options, the first valid device found is connected to. If the local name is specified, the system will only connect to a device with that name.