Companion apps
#11
(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
  Reply
#12
(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
  Reply
#13
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
  Reply
#14
(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
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  iOS Companion App in super-duper alpha! xan-m 4 109 09-07-2021, 04:12 PM
Last Post: xan-m
  How are apps managed on PineTime? atleastitried 2 1,512 05-29-2021, 06:44 PM
Last Post: VMMainFrame
  PineTime smartwatch - a Linux Phone companion Luke 35 43,336 10-26-2020, 12:26 PM
Last Post: zer0sig

Forum Jump:


Users browsing this thread: 1 Guest(s)