-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cellular: Gemalto Cinterion support for ELS61 and BGS2 #7677
Conversation
929c98c
to
b644d94
Compare
@jarvte @mirelachirica @TeemuKultala please review |
return (reg_type == C_REG || reg_type == C_GREG || reg_type == C_EREG); | ||
} | ||
|
||
const char *GEMALTO_CINTERION_CellularNetwork::get_apn() const |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for this method as _apn is protected in inherited class
} | ||
|
||
socket->created = true; | ||
tr_info("Socket %d created (err %d)", socket->id, _at.get_last_error()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be debug so that log is not polluted.
nsapi_size_or_error_t GEMALTO_CINTERION_CellularStack::socket_sendto_impl(CellularSocket *socket, | ||
const SocketAddress &address, const void *data, nsapi_size_t size) | ||
{ | ||
tr_info("Socket %d, sendto %s, len %d", socket->id, address.get_ip_address(), size); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be debug so that log is not polluted.
_at.write_bytes((uint8_t *)data, accept_len); | ||
_at.resp_stop(); | ||
|
||
tr_info("Socket %d sendto %s, %d bytes (err %d)", socket->id, address.get_ip_address(), accept_len, _at.get_last_error()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be debug so that log is not polluted.
nsapi_size_or_error_t GEMALTO_CINTERION_CellularStack::socket_recvfrom_impl(CellularSocket *socket, SocketAddress *address, | ||
void *buffer, nsapi_size_t size) | ||
{ | ||
tr_info("Socket %d recvfrom %d bytes", socket->id, size); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be debug so that log is not polluted.
|
||
_at.resp_stop(); | ||
|
||
tr_info("Socket %d, recvfrom %s, %d bytes (err %d)", socket->id, ip_address, len, _at.get_last_error()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be debug so that log is not polluted.
b644d94
to
adae5a1
Compare
Removed redundant |
adae5a1
to
a42d74f
Compare
/morph build |
Build : FAILUREBuild number : 2871 |
Restarting the build, should be fine now (previous failure was known yesterday and was fixed) /morph build |
Build : SUCCESSBuild number : 2881 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 2502 |
Pausing Test CI until 5.9.6 PR is merged. |
/morph test |
/morph uvisor-test |
1 similar comment
/morph uvisor-test |
uvisor CI reports this error : |
Test : SUCCESSBuild number : 2636 |
@AriParkkila Were a couple of lines missed? Normally GitHub will collapse review comments when the line disappears from the review. |
620656a
to
3c8acea
Compare
3c8acea
to
90fe9de
Compare
Please trigger morph builds to see that this passes all tests. |
/morph build |
Build : SUCCESSBuild number : 2943 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 2560 |
Test : SUCCESSBuild number : 2692 |
Description
AT command support for the Gemalto Cinterion cellular modules:
Depends on PR #7860.
Pull request type