Answer the question
In order to leave comments, you need to log in
How to call a function from the same module from a module?
How can I access the getCmdReadConfig() method?
module.exports = (idses)=>{
return {
connConfig: (port, ip) => {
// .............................
},
getVersion: (idses) => {
req = getCmdReadConfig(idses, 1, 0x01)
},
getCmdReadConfig: (idses, type, num, par=0x00) => {
//.....................
}
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question