Documentation ¶
Index ¶
Constants ¶
View Source
const (
TemperatureURN string = "urn:oma:lwm2m:ext:3303"
)
Variables ¶
This section is empty.
Functions ¶
func CreateTemperatures ¶
func NewSenMLPack ¶
func NewSenMLPack(deviceID, baseName string, baseTime time.Time, decorators ...SenMLDecoratorFunc) senml.Pack
Types ¶
type SenMLDecoratorFunc ¶
type SenMLDecoratorFunc func(p *senML)
func BoolValue ¶
func BoolValue(n string, vb bool) SenMLDecoratorFunc
Click to show internal directories.
Click to hide internal directories.