PINE64
Companion apps - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PineTime (https://forum.pine64.org/forumdisplay.php?fid=134)
+--- Forum: General Discussion on PineTime (https://forum.pine64.org/forumdisplay.php?fid=135)
+--- Thread: Companion apps (/showthread.php?tid=12038)

Pages: 1 2


RE: Companion apps - Markdanni123 - 01-22-2021

(12-08-2020, 01:09 PM)VMMainFrame Wrote:
(12-07-2020, 12:34 PM)VMMainFrame Wrote: nRF Connect for Android can set the time using the GATT feature I believe,  if the software in the watch supports it.  nRF Connect for IOS does not have this feature last I heard.  There is an IOS app called GATTBrowser that might do it, but I have not tested it.

Hugh

I have tested GATTBrowser and it can set the time on the watch from iOS, but you have to do part of the work.  I don't have an iPhone but I do have an iPod so I downloaded GATTBrowser and tested it.  It is impressive, it can read a lot of information from the watch, and can set some of the info, including the date and time.  However it does not have an option to take the current date and time from the phone and send it to the watch, or if it does I could not find it.  You have to build the date and time string yourself.  The string is in hex and consists of nine bytes, 2 bytes for the year and one byte for each of the month, day, hour, minute, second, tenths and hundredths.  The year has the bytes reversed.  So 2020 in hex is 07E4, you send e407.  To send December 8, 2020, 13:50 you create the string 0xe4070c080d32000000 in the "write" field and then hit the Write button.

Hugh
Thanks dude I don’t know what any of that means but it sounds like your a man that knows his stuff


RE: Companion apps - Markdanni123 - 01-25-2021

(12-08-2020, 01:09 PM)VMMainFrame Wrote:
(12-07-2020, 12:34 PM)VMMainFrame Wrote: nRF Connect for Android can set the time using the GATT feature I believe,  if the software in the watch supports it.  nRF Connect for IOS does not have this feature last I heard.  There is an IOS app called GATTBrowser that might do it, but I have not tested it.

Hugh

I have tested GATTBrowser and it can set the time on the watch from iOS, but you have to do part of the work.  I don't have an iPhone but I do have an iPod so I downloaded GATTBrowser and tested it.  It is impressive, it can read a lot of information from the watch, and can set some of the info, including the date and time.  However it does not have an option to take the current date and time from the phone and send it to the watch, or if it does I could not find it.  You have to build the date and time string yourself.  The string is in hex and consists of nine bytes, 2 bytes for the year and one byte for each of the month, day, hour, minute, second, tenths and hundredths.  The year has the bytes reversed.  So 2020 in hex is 07E4, you send e407.  To send December 8, 2020, 13:50 you create the string 0xe4070c080d32000000 in the "write" field and then hit the Write button.

Hugh
Hey Hugh, I copy and pasted the hex code you gave me read the date and time as the 22:45, Saturday 28th of July 1753 lol it’s still progress for me dude thank you so much Smile


RE: Companion apps - VMMainFrame - 01-25-2021

I used my iPod, copied the hex string from my previous message, starting with 0x and ending with the last 00.  I then entered GATTBrowser, connected to the Pinetime, went into the date and time section, set the button to hex and not text and pasted the string into the write field.  I pressed the Write button and my Pinetime was set to December 2020.  I don't know why it doesn't work for you.  GattBrowser version is 1.1.4.

Hugh


RE: Companion apps - Markdanni123 - 01-26-2021

(01-25-2021, 09:30 PM)VMMainFrame Wrote: I used my iPod, copied the hex string from my previous message, starting with 0x and ending with the last 00.  I then entered GATTBrowser, connected to the Pinetime, went into the date and time section, set the button to hex and not text and pasted the string into the write field.  I pressed the Write button and my Pinetime was set to December 2020.  I don't know why it doesn't work for you.  GattBrowser version is 1.1.4.

Hugh
I used the nRF app on my fiancé’s iPhone 11 and that is the date that is enabled, even searched hex code with today’s date but all I got was a bunch of how to science pages. But listen dude before the time it was set in now, it was set to June the 1st 1970 which is a good step for me lol so thank you Smile