I'm trying to set up my application to communicate with iAP or PandoraLink via SPP. For these transports to work reliably, I need to be able to buffer either all of a packet or none of a packet (i.e. don't try to send any of it if there isn't room for all of it in the buffer). Is there a way I can check how much space is remaining in the outgoing buffer for sending SPP data, or cause it to discard data submitted to SPP_Data_Write if there is not enough space in the buffer for all of the requested bytes?