I'm using the obexpush in order to receive files from multiple mobile phones.
I would like to know from which phone i received which file. I want to know the BT address of each phone which sent the file. In order to do that I'm thinking to change the file names and concat to then the sender's BT address.
However i was unable to find out where i can find this address and how to change the file name in the obexpushd.c code.
Any help/hint will be welcomed!
Obtain the FD of the OBEX session -> int fd = OBEX_GetFD(handle);
Obtain the BT-MAC -> getpeername (int __fd, __SOCKADDR_ARG __addr, socklen_t *__restrict __len) -> sys/socket.h
Read the OBEX spec, it explains how to generate OBEX packets.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.