Bluetooth AT Commands


#1

Hello,

I’m very new to Ionic coming from a purely Android basis.

Has anyone tried to send AT commands via Bluetooth or Wifi and parse responses? I have done this previously using native Android but want to make my code easier to manage by using Ionic (since I am primarily a Web Developer).

If anyone has, what is the best way to do this in Ionic?

Thanks.


#2

There are two native Cordova plugins for Bluetooth that have shims in Ionic Native:

https://ionicframework.com/docs/native/bluetooth-serial/
https://github.com/don/BluetoothSerial

https://ionicframework.com/docs/native/ble/
https://github.com/don/cordova-plugin-ble-central

See if this offer the functionality you need.