Skip to content

Use snprintf and strnstr #12

Closed
Closed
@sfe-SparkFro

Description

@sfe-SparkFro

From @gigapod in #10 in response to extensive usage of sprintf and strstr, such as here:

sprintf(command, "%s=%d", UBX_CELL_REGISTRATION_STATUS, 2/*enable URC with location*/);

and here:

char *searchPtr = strstr(event, UBX_CELL_READ_SOCKET_URC);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions