Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.
WISE Send Number
The communication between two WISE devices is divided into two possibilities
When number is send or received the data size is always 5 bytes - the first byte is a control byte (always 'L') and the remaining 4 bytes represents a 32 bit integer is a little endian format.
int wise_send_int(int socket,int nbr)
/* create number buffer */
number_buffer = 'L';
/* send bumber */
bytes_send = write(socket,number_buffer,sizeof(int)+1);
if ( bytes_send < sizeof(int)+1 ) return WISE_CONNECTION_ERROR;
void CWISEBase::SendIntL(RSocket& aSocket, TInt aInt)