Added query-analog-mappings and response
Added set-sampling-interval
Mode as a symbol in pin-state events