Oh, my english is even worse - by the way: do you speak german?
On the one side the Bluetooth Bee-Module is connected to my smartphone over Bluetooth, on the other side its connected with a microchip over the serial interface.
The microchip acts as translator/converter between a proprietary Ti-Calculator protocol and the good old serial interface protocol.
My goal is that my smartphone communicates with my calculator.
If the calculator gets wrong or unexpected data from the microchip the calc crashes.
Because the microchip don’t know whether data is good or bad for the calc he can’t discard bad data.
For example status messages from the Bluetooth Bee-Module will crash the calculator, so they must be filtered out.
But I don’t want to parse all Bluetooth Bee messages (I have to parse to recognize status messages), so my idea is to test the PIO1 pin, which indicates whether the Bluetooth Bee Module is connected or not.
Because the Bluetooth-Bee won’t send status messages to the microchip while connected to the smartphone, the data must not be filtered (there are no status-messages).
This only works if the connect-status message is always completly sent before PIO1 goes high, and PIO1 goes always low before the disconnect-status messages is sent.
But is this the case?
Otherwise the status-messages will be converted and sent to the calculator which isn’t so good.
I hope you understand my question now.