Skip to content

Commit

Permalink
feat(plc4go/bacnet): add primitive character string and date
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Aug 16, 2024
1 parent 5d1a99f commit 236e7c6
Show file tree
Hide file tree
Showing 4 changed files with 1,347 additions and 29 deletions.
4 changes: 4 additions & 0 deletions plc4go/internal/bacnetip/debugging.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ import (
"regexp"
)

func Btox(data []byte) string {
return hex.EncodeToString(data)
}

func Xtob(hexString string) ([]byte, error) {
compile, err := regexp.Compile("[^0-9a-fA-F]")
if err != nil {
Expand Down
Loading

0 comments on commit 236e7c6

Please sign in to comment.