Open KillerJulian opened 1 year ago
I recommend using yarn as a package manager for a faster and cleaner working process. Quick and easy installation.
Use now yarn or alternatively npm.
yarn
yarn build:docs
Later, Github will host the docs. But for the local view we need to install a small tool
yarn global add http-server
http-server ./docs
Automation will make it faster and easier for your to work with the project. It also represents a change in your workflow. Decide for yourself whether you want to take this step.
Following will change it:
v*
You always have the choice to customise the workflow to your needs.
Set NPM token The token is needed to publish your package automatically
Generate new token (Go to the npm website -> click on your profile picture -> Access Tokens -> Generate New Token)
Name: serialport-gsm
Type: Automation
Copy your token.
Set token at repository (Repository settings -> Secrets -> Action secrets -> New repository secret)
Name: NPM_TOKEN
Value: your token
Merge this pull request
Github Pages
After the first commit to master
(also when you merge this pull request), the docs should be built. After that you can set the Github page.
Go to the Pages
setting in the repository (Repository settings -> Pages)
Set up as follows:
Source: Github Actions
⚠️ Before merging these pull request, you should be aware of the changes. Please also read this comment thoroughly.
v5.0.0
For questions and suggestions I am at your disposal. Thank you for your cooperation 🤝
On which code-date this PR is based on? Were the latest changes incorporated? What about the one open PR for issue solving on error cases?
With the three upper commits the functions
Modem.getRegisteredNetwork()
andModem.getAvailableNetworks()
were added.Closes: #31
On which code-date this PR is based on? Were the latest changes incorporated? What about the one open PR for issue solving on error cases?
All bugs should also be fixed in this version. Not included was incomingSMSIndicationTimeouts, as I could not find out why it was implemented. However, you should take a close look at my changes. It is likely that a number of functions or events have been renamed or removed.
Should this pull request be merged, an upgrade guide for the users would certainly not be bad
It is now possible to directly send an own PDU (Submit or Deliver)
Modem.sendPdu()
Closes: #129
Happy new year! 🥳🎉 As I have already announced now follows the rewrite of this wonderful library.
Improvements:
Limitations:
>=16.0.0
SMS
mode is no longer supported¹The rewrite took a lot of time, so I would be happy about a small mention. Let me know if you disagree with my work.
With kind regards - Julian 🇩🇪
¹ The SMS can be implemented again if desired, but I don't see it as necessary anymore and it would cause code duplications
Closes: #91 Closes: #86 Closes: #31 Closes: #128 Closes: #129