Shuts down a compatible imp’s Bluetooth sub-system
Only available on the imp004m (impOS 38+) and imp006 (impOS 42+)
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.