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

blues / note-arduino / 13506700407

24 Feb 2025 07:59PM UTC coverage: 94.831%. Remained the same
13506700407

Pull #135

github

web-flow
Merge ccd1adddd into 79627027e
Pull Request #135: chore: Template NoteSerial

102 of 125 branches covered (81.6%)

Branch coverage included in aggregate %.

18 of 18 new or added lines in 1 file covered. (100.0%)

320 of 320 relevant lines covered (100.0%)

15.93 hits per line

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

100.0
/src/NoteLog.hpp
1
#ifndef NOTE_LOG_HPP
2
#define NOTE_LOG_HPP
3

4
#include <stddef.h>
5

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

16
    virtual ~NoteLog(void) {}
5✔
17

18
    /**************************************************************************/
19
    /*!
20
        @brief  Writes a message to the Notecard debug port.
21
        @param    message
22
                A null-terminated, message string.
23
        @return The number of bytes transmitted.
24
    */
25
    /**************************************************************************/
26
    virtual size_t print(const char * message) = 0;
27
};
28

29
/******************************************************************************/
30
/*!
31
    @brief  Helper function to abstract, create and maintain a single instance
32
    of the NoteLog interface implementation, as required by the underlying
33
    `note-c` library.
34
    @param[in] log_parameters
35
               Pointer to the parameters required to instantiate
36
               the platform specific log output implementation.
37
*/
38
/******************************************************************************/
39
NoteLog * make_note_log (
40
    NoteLog::param_t log_parameters
41
);
42

43
#endif // NOTE_LOG_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