From e74117af2786c91ce56b67ad8dfa70f8c9a36acc Mon Sep 17 00:00:00 2001 From: Friedl Ulrich Date: Fri, 6 Feb 2015 23:23:13 +0100 Subject: [PATCH] Set encryption --- rfm69d/rfm69d.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rfm69d/rfm69d.go b/rfm69d/rfm69d.go index 318bd95..5d9eaa5 100644 --- a/rfm69d/rfm69d.go +++ b/rfm69d/rfm69d.go @@ -42,6 +42,11 @@ func main() { } log.Print(rfm) + err = rfm.Encrypt("0123456789012345") + if err != nil { + log.Fatal(err) + } + quit := rfm.Loop() sigint := make(chan os.Signal)