nearly working.  Added config read write, anchor alarm, distance etc..