From: Emanuele S. <e.s...@ho...> - 2012-06-29 10:27:46
|
Brahim, I'm happy it goes well! The problem is about the beginning of the transmission phase: With that code you have sent a request of transmission to the server but you received an answer of length different what you have expected. You need to interpret the answer in the correct way (e.g. you need to read 'response[2]' for understanding the length in bytes of the answer, in this way you know if the connection requires an ID (usually composed by 5 bytes)) In my case I didn't develop the case in which there is no connection ID, but I think that it doesn't require too much time to develop! Regards Emanuele Sansone -----Messaggio originale----- Da: bhamadicharef [mailto:bha...@ho...] Inviato: giovedì 28 giugno 2012 12:19 A: gum...@li... Oggetto: Re: [Gumstix-users] Sending Image using Bluetooth Emanuele, I am trying to compile your code and it goes well. However I cannot seem to send image to an iPAD2 or Samsung GT-S5570 or HTC One ... I get into the ... else{ //To develop printf("Device uses OBEX protocol without connection!\n"); What devices have you used ? any clues ? Brahim -- View this message in context: http://gumstix.8.n6.nabble.com/Sending-Image-using-Bluetooth-tp4964493p49647 58.html Sent from the Gumstix mailing list archive at Nabble.com. ---------------------------------------------------------------------------- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |