BleuIO JavaScript Library Updated to Version 1.1.3 : Supports BleuIO Firmware v2.7.7
January 2, 2025The BleuIO JavaScript library has received another exciting update, now moving to version 1.1.3 supporting BleuIO Firmware v2.7.7. This release continues to expand the library’s capabilities and ensures compatibility with the latest BleuIO firmware.
Here’s a breakdown of the key new commands introduced in version 1.1.3:
- at_connectbond(): This function enables scanning for and initiating a connection with a selected bonded device, even if the peer bonded device is advertising with a Private Random Resolvable Address.
- Example:
at_connectbond('40:48:FD:EA:E8:38')
- Example:
- at_sra(): This command toggles verbose scan result indexing on or off.
- 1 for on, 0 for off.
- Example:
at_sra(1)
- at_siv(): Similar to at_sra(), this command toggles verbose scan result indexing on or off.
- 1 for on, 0 for off.
- Example:
at_siv(1)
- at_assn(): Enables or disables displaying device names in scan results from AT+FINDSCANDATA and AT+SCANTARGET scans (off by default).
- 1 for on, 0 for off.
- Example:
at_assn(1)
- at_assm(): Turns on or off showing the Manufacturing Specific ID (Company ID) in scan results from AT+GAPSCAN, AT+FINDSCANDATA, and AT+SCANTARGET scans (off by default).
- 1 for on, 0 for off.
- Example:
at_assm(1)
- at_connscanparam(): Allows setting or querying the connection scan window and interval used.
- Example:
at_connscanparam('200=100')
- Refer to the BleuIO documentation for more details on AT+CONNSCANPARAM.
- Example:
- at_scanparam(): Enables setting or querying scan parameters.
- Example:
at_scanparam('2=0=200=100=0')
- Detailed usage can be found in the BleuIO documentation under AT+SCANPARAM.
- Example:
- at_sat(): Turns on or off showing address types in scan results from AT+FINDSCANDATA and AT+SCANTARGET scans (off by default).
- 1 for on, 0 for off.
- Example:
at_sat(1)
- at_setuoi(): Allows setting a Unique Organization ID, which is stored in flash memory and persists through power cycles. The ID is displayed in the response of the ATI command. Any previously set ID is cleared when a new one is set.
- Max length: 100 characters.
- Example:
at_setuoi('Your Unique Organization ID')
- at_clruoi(): Clears any previously set Unique Organization ID.
How to Update
Updating to the BleuIO JavaScript library 1.1.3 is straightforward. Use the following command to install the latest version:
npm i bleuio
Documentation and Further Details
For comprehensive documentation, usage examples, and detailed guidelines on the new functionalities introduced in version 1.1.3, visit the official NPM page: BleuIO NPM Page.
This update solidifies BleuIO’s commitment to providing robust tools for BLE development. Explore the new features and enhance your Bluetooth Low Energy projects with greater customization and efficiency.