ConfigStatus returns status information about this Seesaw's current configuration.
(ctx *ipc.Context, reply *seesaw.ConfigStatus)
| 95 | |
| 96 | // ConfigStatus returns status information about this Seesaw's current configuration. |
| 97 | func (s *SeesawECU) ConfigStatus(ctx *ipc.Context, reply *seesaw.ConfigStatus) error { |
| 98 | s.trace("ConfigStatus", ctx) |
| 99 | |
| 100 | authConn, err := s.ecu.authConnect(ctx) |
| 101 | if err != nil { |
| 102 | return err |
| 103 | } |
| 104 | defer authConn.Close() |
| 105 | |
| 106 | cs, err := authConn.ConfigStatus() |
| 107 | if err != nil { |
| 108 | return err |
| 109 | } |
| 110 | |
| 111 | if reply != nil { |
| 112 | *reply = *cs |
| 113 | } |
| 114 | return nil |
| 115 | } |
| 116 | |
| 117 | // ConfigReload requests a configuration reload. |
| 118 | func (s *SeesawECU) ConfigReload(ctx *ipc.Context, reply *int) error { |
nothing calls this directly
no test coverage detected