Hi,
I'm working with BT chat example as a starting point for my project. I have an external BT module that autoconnects to the nexus bluetooth, preprogrammed with the nexus MAC.
I changed the example app to just "serial1.Listen" after enabling the bluetooth, and sure enough my external module detects and connects without issue. I never call serial1.Connect as the connection is established automatically, at the behest of the external module.
I get a 'Connected' event firing, so then do the "AStream.InitializePrefix(Main.serial1.InputStream, True, Main.serial1.OutputStream, "AStream")", and directly after that, I get an Astream Error event.
No data has been received, the Main.serial1.workingdevice lists details of my external module, but serial1.connected is all null.
Any help appreciated.
I'm working with BT chat example as a starting point for my project. I have an external BT module that autoconnects to the nexus bluetooth, preprogrammed with the nexus MAC.
I changed the example app to just "serial1.Listen" after enabling the bluetooth, and sure enough my external module detects and connects without issue. I never call serial1.Connect as the connection is established automatically, at the behest of the external module.
I get a 'Connected' event firing, so then do the "AStream.InitializePrefix(Main.serial1.InputStream, True, Main.serial1.OutputStream, "AStream")", and directly after that, I get an Astream Error event.
No data has been received, the Main.serial1.workingdevice lists details of my external module, but serial1.connected is all null.
Any help appreciated.