Skip to content

Commit

Permalink
allow 'value' property in characteristics updates to have whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Raal Goff committed Aug 8, 2021
1 parent 586f690 commit 86f99f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HomeSpan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ int Span::updateCharacteristics(char *buf, SpanBuf *pObj){
pObj[nObj].iid=atoi(t3);
okay|=2;
} else
if(!strcmp(t2,"value") && (t3=strtok_r(t1,"}[]:, \"\t\n\r",&p2))){
if(!strcmp(t2,"value") && (t3=strtok_r(t1,"}[]:,\"",&p2))){
pObj[nObj].val=t3;
okay|=4;
} else
Expand Down

0 comments on commit 86f99f6

Please sign in to comment.