From 9ccab8015f3c481a6afbb0c7eb98c3f7d95268e3 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 26 Jul 2019 15:45:01 +0200 Subject: nrf24l01 model: Add getObserveTx --- model/driver/nrf24l01.dfa | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'model') diff --git a/model/driver/nrf24l01.dfa b/model/driver/nrf24l01.dfa index 43c4b2f..2c8a2e3 100644 --- a/model/driver/nrf24l01.dfa +++ b/model/driver/nrf24l01.dfa @@ -88,6 +88,13 @@ transition: - name: count values: [0, 5, 10, 15] parameter: max_retry_count + getObserveTx: + src: [STANDBY1] + dst: STANDBY1 + return_value: + - parameter: retry_count + formula: param & 0x0f + apply_from: write write: src: [STANDBY1] dst: STANDBY1 @@ -102,3 +109,5 @@ transition: - name: blocking values: [1, 1, 1, 1, 1, 1] argument_combination: zip + return_value: + - lol: nope -- cgit v1.2.3