• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

blues / note-arduino / 13307521056

13 Feb 2025 12:19PM UTC coverage: 94.831%. Remained the same
13307521056

Pull #131

github

web-flow
Merge 707de2580 into d8e8fbdc4
Pull Request #131: chore: Update Arduino CLI

104 of 127 branches covered (81.89%)

Branch coverage included in aggregate %.

318 of 318 relevant lines covered (100.0%)

16.12 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/NoteTxn.hpp
1
#ifndef NOTE_TXN_HPP
2
#define NOTE_TXN_HPP
3

4
#include <stddef.h>
5
#include <stdint.h>
6

7
class NoteTxn
8
{
9
public:
10
    /**************************************************************************/
11
    /*!
12
        @brief  Type used to abstract specific hardware implementation types.
13
    */
14
    /**************************************************************************/
15
    typedef void * param_t;
16

17
    virtual ~NoteTxn(void) {}
16✔
18

19
    /**************************************************************************/
20
    /*!
21
        @brief  A blocking call used to initiate a transaction with the Notecard
22
        @param[in]  timeout_ms
23
                The number of milliseconds to wait before aborting the request
24
        @returns A boolean indicating success.
25
    */
26
    /**************************************************************************/
27
    virtual bool start (uint32_t timeout_ms) = 0;
28

29
    /**************************************************************************/
30
    /*!
31
        @brief  Non-blocking call to terminate the transaction
32
    */
33
    /**************************************************************************/
34
    virtual void stop (void) = 0;
35
};
36

37
/******************************************************************************/
38
/*!
39
    @brief  Helper function to abstract, create and maintain a single instance
40
    of the NoteTxn interface implementation, as required by the underlying
41
    `note-c` library.
42
    @param[in] txn_parameters
43
               Pointer to the parameters required to instantiate
44
               the platform specific transaction implementation.
45
*/
46
/******************************************************************************/
47
NoteTxn * make_note_txn (
48
    NoteTxn::param_t txn_parameters
49
);
50

51
#endif // NOTE_TXN_HPP
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc