Re: Getting memory statistics of remote device
Hello,
I would like to know how to retrieve information about memory state of
remote device. My goal is to ask the device how much free space does it
have (on the drive where files uploaded via Bluetooth are saved), so
application could warn the user if one tried to upload too large file
on the device. Apple hasn't done that check in "Send file..."-command
of their Bluetooth File Exchange application, so I can start uploading
60 megabyte file on my cell phone (Nokia 3650), and my phone will start
giving errors when its memory gets full.
Any help will be greatly appreciated.
Nikita, This problem is device dependent, since a "space available" command is not really in the specification. If a device, such as your phone, is allowing the 60MB transfer to proceed, the phone is at err here - the reason for this is that in the OBEX Put command (a length OBEX header), we send the size of the file it is going to receive. The phone should know better, and refuse the transfer. Therefore, I really don't know of any effective way to test for remote space available. Jason bubba@apple.com _______________________________________________ bluetooth-dev mailing list | bluetooth-dev@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/bluetooth-dev Do not post admin requests to the list. They will be ignored.
participants (1)
-
Bubba Giles