Skip to main content

bluetooth.close()

Shuts down a compatible imp’s Bluetooth sub-system

Availability

Device
Only available on the imp004m and imp006 (impOS 42)

Returns

Nothing

Description

This method shuts down any current Bluetooth operations, relinquishes control of the UART and frees memory allocated to the Bluetooth stack. It is invoked implicitly when the target instance goes out of scope.

close() can be called on a bluetooth instance multiple times.