-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add basic c-node and supporting services #2
Conversation
7d2b8c9
to
ad175d4
Compare
end | ||
|
||
@doc false | ||
defdelegate ei_log(level, term), to: Logger, as: :log |
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.
⛔ (required)
The second arg is the log message as a string, right?
defdelegate ei_log(level, term), to: Logger, as: :log | |
defdelegate ei_log(level, message), to: Logger, as: :log |
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.
It currently is returning a string, but nothing stopping us from this being able to return a term
, i.e. structured data.
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.
✅ Oh, well that's cool.
5dde4ca
to
57f4e66
Compare
57f4e66
to
f165188
Compare
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.
Look closely at the naming. There are some I didn't mark because they'll show up in a find-and-replace. The rest is looking good.
f165188
to
fcbd082
Compare
NOTE:
iex --sname app -S mix
BACNet.add_device(nil)
is there to illustrate how a:gen.call
works between an Elixir process and C-Node process. It returns{:error, :unimplemented}
for now.