Content originally posted in LPCWare by neilt6 on Tue Jul 16 09:50:48 MST 2013
Hey guys. This isn't an LPC specific question, but what's the best way to communicate with an AT command driven device (In this case a PAN1721 with BlueRadios firmware)through the USART? I've written lots of low-level drivers for i2c or SPI devices, but this one's got strings, and parsing, and unsolicited event notifications, the works... I need to figure out a way to build an API around all this stuff so my main application can call things like PAN1721_GetAddress(), PAN1721_Scan(), PAN1721_Connect(), etc. Any help would be appreciated, as I'm not sure where to even start...