Added two new messages to parse

This commit is contained in:
Th3maz1ng 2023-04-22 22:51:33 +02:00
parent 10a98e3819
commit 5bc20d03d7
2 changed files with 31 additions and 1 deletions

View File

@ -16,3 +16,20 @@
<stdbool.h>
<time.h>
1681114227 source:d:\users\think\programmation\arduino\git_projects\w800_smart_watch\src\gadget_bridge_parser\gadget_bridge.c
"gadget_bridge.h"
<stdio.h>
<stdlib.h>
<string.h>
1681150637 d:\users\think\programmation\arduino\git_projects\w800_smart_watch\src\gadget_bridge_parser\gadget_bridge.h
<stdint.h>
<stdbool.h>
<time.h>
1681114227 source:d:\users\think\programmation\arduino\git_projects\w800_smart_watch\src\gadget_bridge_parser\main.c
<stdio.h>
<stdlib.h>
<string.h>
"gadget_bridge.h"

View File

@ -22,6 +22,7 @@
[10][16]GB({t:"calendar",id:63749,type:0,timestamp:1681077600,durationInSeconds:86400,title:"Easter Monday",description:"Public holiday",location:"",calName:"anatole.schramm-henry@master-stic.fr/Holidays in France",color:-15292571,allDay:true})
[10][16]GB({t:"weather",temp:0,hum:0,code:3200,wind:0.0,wdir:0,loc:""})[10]
[16]GB({t:"notify",id:1682154002,src:"Gadgetbridge",subject:"This is a test payload",body:"This is a test payload ",sender :"This is a test payload ",tel:"This is a test payload "})[10]
[16]GB({t:"notify",id:1680859061,body:"test hehe test",sender:"+33652623698",tel:"+33652623698"})
[10][16]GB({t:"notify",id:1680859062,src:"Messages",title:"06 52 62 36 98",body:"test hehe test"})[10]
[16]GB({t:"notify",id:1680859063,src:"E-mail",title:"Th3maz1ng Wot Channel",body:"Test subject"})[10]
@ -279,8 +280,20 @@ const char *sample[] =
"deo with subtitles)\"",
",dur:219,c:-1,n:-1})",
"[16]GB({t:\"notify\",i",
"d:1680859061,body:\"tes",
"t hehe test\",sender:\"",
"+33652623698\",tel:\"+3",
"3652623698\"})",
"[16]GB({t:\"notify\",id:",
"1682154002,src:\"Gadgetb",
"ridge\",subject:\"This i",
"s a test payload\",body:\"",
"This is a test payload \",",
"sender :\"This is a test",
"payload \",tel:\"This is",
" a test payload \"})[10]",
};
int main()