wifi.sendStringLast() and printAll
in Wifi Shield
Hello. I am using a custom wifi cyton board and I want to see the wifi.sendStringLast() or printAll() message in the cyton library firmware. I am not able to see it in the console. Is there a way for me to see this properly?
You can find an example of the usage of these functions in OpenBCI_32bit_Library::processIncomingLeadOffSettings() of OpenBCI_32bit_Library.cpp from OpenBCI_32bit_Library.

If anyone have a good lead, then please let me know. That will help out a lot!
Comments
Hi MSL,
You can see the function definitions here:
https://github.com/OpenBCI/OpenBCI_Cyton_Library/blob/master/OpenBCI_32bit_Library.cpp#L4237
https://github.com/OpenBCI/OpenBCI_Cyton_Library/blob/master/OpenBCI_32bit_Library.cpp#L3502
'printAll' in turn calls 'printSerial' and that looks like:
So the intention is, if the Serial0 port is busy (PIC32 is feeding EEG serial data to the RFduino for radio transmission), then that serial output string is silently skipped. But it does send the same debug string to PIC32 serial port '1', which you can connect to, to monitor debug output during EEG serial data streaming.
'printAll', also attempts to send the string to the wifi device, you can check that code to see if it can be monitored there.
William