https://github.com/haradama/gosenbay
Senbay implemented in Go
https://github.com/haradama/gosenbay
command-line-tool decorder golang qrcode recorder senbay sensor-data
Last synced: about 1 year ago
JSON representation
Senbay implemented in Go
- Host: GitHub
- URL: https://github.com/haradama/gosenbay
- Owner: haradama
- License: apache-2.0
- Created: 2020-04-18T05:53:49.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-03T09:41:06.000Z (over 3 years ago)
- Last Synced: 2025-01-16T07:37:52.739Z (over 1 year ago)
- Topics: command-line-tool, decorder, golang, qrcode, recorder, senbay, sensor-data
- Language: Go
- Homepage:
- Size: 4.59 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gosenbay
gosenbay is a golang implementation of senbay that is intended to work on multiple platforms.
[](https://godoc.org/github.com/haradama/gosenbay)
[](https://goreportcard.com/report/github.com/haradama/gosenbay)
## Usage
In this example, int and string value are converted to senbay format.
```go
package main
import (
"fmt"
"github.com/haradama/gosenbay/senbay"
)
func main() {
PN := 121
SD, _ := senbay.NewSenbayData(PN)
value1 := 123
SD.AddInt("KEY1", value1)
SD.AddText("KEY2", "value2")
result := SD.Encode(true)
fmt.Println(result)
}
```
### Related Links
- [tetujin/SenbayKit-CLI](https://github.com/tetujin/SenbayKit-CLI) (The original)
- [Senbay Platform Website](http://www.senbay.info)
- [Senbay YouTube Channel](https://www.youtube.com/channel/UCbnQUEc3KpE1M9auxwMh2dA/videos)
### Reference
```
@inproceedings{Nishiyama:2018:SPI:3236112.3236154,
author = {Nishiyama, Yuuki and Dey, Anind K. and Ferreira, Denzil and Yonezawa, Takuro and Nakazawa, Jin},
title = {Senbay: A Platform for Instantly Capturing, Integrating, and Restreaming of Synchronized Multiple Sensor-data Stream},
booktitle = {Proceedings of the 20th International Conference on Human-Computer Interaction with Mobile Devices and Services Adjunct},
series = {MobileHCI '18},
year = {2018},
location = {Barcelona, Spain},
publisher = {ACM},
}
```
### License
gosenbay is available under the Apache License, Version 2.0 license. See the LICENSE file for more info.